package com.qqtech.oss.aliyun;

public class FileClientConfig {
	private String endpoint;
	private String accessKeyId;
	private String secretAccessKey;
	private String bucketName;

	public FileClientConfig() {
	}

	public FileClientConfig(String endpoint, String accessKeyId, String secretAccessKey, String bucketName) {
		this.endpoint = endpoint;
		this.accessKeyId = accessKeyId;
		this.secretAccessKey = secretAccessKey;
		this.bucketName = bucketName;
	}

	public String getEndpoint() {
		return endpoint;
	}

	public void setEndpoint(String endpoint) {
		this.endpoint = endpoint;
	}

	public String getAccessKeyId() {
		return accessKeyId;
	}

	public void setAccessKeyId(String accessKeyId) {
		this.accessKeyId = accessKeyId;
	}

	public String getSecretAccessKey() {
		return secretAccessKey;
	}

	public void setSecretAccessKey(String secretAccessKey) {
		this.secretAccessKey = secretAccessKey;
	}

	public String getDefaultBucketName() {
		return bucketName;
	}

	public void setDefaultBucketName(String bucketName) {
		this.bucketName = bucketName;
	}

	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder("FileClientConfig{");
		sb.append("endpoint='").append(endpoint).append('\'');
		sb.append(", accessKeyId='").append(accessKeyId).append('\'');
		sb.append(", secretAccessKey='").append(secretAccessKey).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
